package com.info33.platform.business.app.entity;

import com.info33.platform.business.app.dto.AppMenuFastDTO;
import com.info33.platform.common.mvc.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * app - 菜单 - 快捷
 *
 * @author admin
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppMenuFast extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @NotNull(groups = {AppMenuFastDTO.AppChange.class}, message = "快捷菜单不能为空")
    @ApiModelProperty(value = "菜单 id 集合【app_tenant_menu】")
    private String menuIds;

}